import Cookies from "js-cookie";

const COOKIE = "cookie";
/*
 * 获取cookie的
 * */
export function getToken() {
  return Cookies.get(COOKIE);
}

export function setToken(token) {
  return Cookies.set(COOKIE, token);
}

export function removeToken() {
  return Cookies.remove(COOKIE);
}
